Graphic objects and drawing elements > Property Panel > All properties and connections > CloseValue
Type the value that will be written out when the button is pressed. The range is from -2,147,483,648 through 2,147,483,647.
This option is available when the WriteOnClose property is set to True.
WriteOnClose